package com.hd.trans.files.model;

import androidx.annotation.DrawableRes;
import androidx.fragment.app.Fragment;

/**
 * Author: yangtianwen
 * Time: 2021/12/15
 * Des:
 */
public class TabViewUiModel {
    private final String title;
    @DrawableRes
    private final int icon;
    private final Fragment fragment;

    public TabViewUiModel(String title, int icon, Fragment fragment) {
        this.title = title;
        this.icon = icon;
        this.fragment = fragment;
    }

    public String getTitle() {
        return title;
    }

    public int getIcon() {
        return icon;
    }

    public Fragment getFragment() {
        return fragment;
    }

}
